package rush.edu.wechat.facade.user.entity;

/**
 * <p>
 * 菜单资源
 * </p>
 *
 * @author 梅景飞
 * @since 2018-01-19
 */
public class Menu {

    private static final long serialVersionUID = 1L;


	private Integer id;
	private String description;
	private String name;

	private Integer parentMenu;
    /**
     * 图标的样式
     */
	private String iconcss;
    /**
     * 菜单的DWZ tabID
     */
	private String ref;
	private Integer orderby;


	public Integer getId() {
		return id;
	}

	public Menu setId(Integer id) {
		this.id = id;
		return this;
	}

	public String getDescription() {
		return description;
	}

	public Menu setDescription(String description) {
		this.description = description;
		return this;
	}

	public String getName() {
		return name;
	}

	public Menu setName(String name) {
		this.name = name;
		return this;
	}

	public Integer getParentMenu() {
		return parentMenu;
	}

	public Menu setParentMenu(Integer parentMenu) {
		this.parentMenu = parentMenu;
		return this;
	}

	public String getIconcss() {
		return iconcss;
	}

	public Menu setIconcss(String iconcss) {
		this.iconcss = iconcss;
		return this;
	}

	public String getRef() {
		return ref;
	}

	public Menu setRef(String ref) {
		this.ref = ref;
		return this;
	}

	public Integer getOrderby() {
		return orderby;
	}

	public Menu setOrderby(Integer orderby) {
		this.orderby = orderby;
		return this;
	}


	@Override
	public String toString() {
		return "Menu{" +
			"id=" + id +
			", description=" + description +
			", name=" + name +
			", parentMenu=" + parentMenu +
			", iconcss=" + iconcss +
			", ref=" + ref +
			", orderby=" + orderby +
			"}";
	}
}
